<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>userList</title>
</head>
<body>
[[${session.userLogin.usrName}]] <a th:href="@{/user_logout}">退出登录</a><br>
<table class="user-table">
    <thead>
    <tr>
        <th>题目</th>
        <th>你的答案</th>
        <th>正确答案</th>
    </tr>
    </thead>
    <tbody th:each="game:${session.gameList}">
    <tr>
        <td th:text="${game.gameRecord}">11</td>
        <td th:text="${game.usrAnswer}">11</td>
        <td th:text="${game.gameAnswer}">11</td>

    </tr>

    </tbody>
</table>

<a th:href="@{/to_user_game}">开始游戏</a><br>
</body>
</html>